<%@page import="com.sjyy.hospital.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>

	<input type="hidden" id="hospitalId" name="hospitalId" value="${hospital.hospitalId}"/>

	<tr>	
		<td class="tdLabel">
			<span class="required">*</span>areaId:
		</td>		
		<td>
		<select class="form-field col-2" value="${hospital.areaId}" name="areaId" id="areaId">
					<option value="">全部</option>
					<c:forEach items="${areaIdList}" var="item">								
						<option value="${item.key }" 
						<c:if test="${item.key eq hospital.areaId}">
							selected="selected"
						</c:if>
						>${item.value }</option>
					</c:forEach>						
				</select>
		<font color='red'><form:errors path="areaId"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			<span class="required">*</span>名称:
		</td>		
		<td>
		<form:input path="name" id="name" cssClass="required " maxlength="128" />
		<font color='red'><form:errors path="name"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			<span class="required">*</span>级别:
		</td>		
		<td>
				<select class="form-field col-2" value="${hospital.level}" name="level" id="level">
						<option value="">全部</option>
					<option value="1" <c:if test="${hospital.level == 1}"> selected </c:if>>一级</option>
					<option value="2" <c:if test="${hospital.level == 2}"> selected </c:if>>二级</option>
					<option value="3" <c:if test="${hospital.level == 3}"> selected </c:if>>三级</option>
					<option value="4" <c:if test="${hospital.level == 4}"> selected </c:if>>社区</option>	
					<option value="5" <c:if test="${hospital.level == 5}"> selected </c:if>>诊所</option>				
				</select>
		<font color='red'><form:errors path="level"/></font>
		</td>
	</tr>
	
	<tr>	
		<td class="tdLabel">
			<span class="required">*</span>类型:
		</td>		
		<td>
		<select class="form-field col-2" value="${hospital.type}" name="type" id="type">
					<option value="0">全部</option>
					<option value="1" <c:if test="${hospital.type == 1}"> selected </c:if>>国营</option>
					<option value="2" <c:if test="${hospital.type == 1}"> selected </c:if>>私营</option>
				</select>
		<font color='red'><form:errors path="type"/></font>
		</td>
	</tr>	
	
	<tr>	
		<td class="tdLabel">
			<span class="required">*</span>是否营业:
		</td>		
		<td>
		<select class="form-field col-2"  value="${hospital.status}" name="status" id="status">
					<option value="0">全部</option>
					<option value="1" <c:if test="${hospital.status == 1}"> selected </c:if>>运营中</option>
					<option value="2" <c:if test="${hospital.status == 2}"> selected </c:if>>停止运营</option>
		</select>
		<font color='red'><form:errors path="status"/></font>
		</td>
	</tr>	
		
	<tr>	
		<td class="tdLabel">
			概述:
		</td>		
		<td>
		<form:textarea value="${hospital.summary}" path="summary" id="summary" cssClass="" cols="30" rows="5" />
		<font color='red'><form:errors path="summary"/></font>
		</td>
	</tr>	
	
		